# 06-导入模块.py
'''
import 模块名
from 模块名 import 类、变量、方法
from 模块名 import *
'''
import random as r
print(r.randint(1,100))


# 导入方法2
from random import * 
print(randint(100,1000))

# 3、提升性能 按需导入
from random import randint  as rin

print(rin(1000,10000))
